import React, {Component} from 'react'
import { PageHeader, Button} from 'antd';
export default class Control extends Component{
    render() {
        return (
            <div>
                <PageHeader
                    ghost={false}
                    title="五子棋"
                    subTitle="react小项目"
                    extra={[

                        <Button key="1" type="primary" onClick={this.props.init}>
                            重新开始
                  </Button>,
                        <Button key="3" onClick={this.props.back}>悔棋</Button>,
                    ]}
                >
                </PageHeader>
            </div>
        )
    }
}